<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="color: aquamarine;">大二的第一次作业</div>
    <script>
        let yanse="red"
        let time="9月16日"
        const ys="green"

        alert("欢迎使用本页面")
        alert("这是2410305118的作业")
        alert("本页面展示了console和ducument以及function")

        console.log("软件2402")
        console.log("在控制台展示内容")

        document.write("<div style='color:" + yanse + "'>这是第一个页面</div>")
        document.write("<div style='color:"+ ys +"'>这是document的第二句话</div>")

        var a = "Hello"
        document.write(""+a)

        function Count(){
            count = 1 + 9
            console.log(count)
        }

        Count()

        function sayHello(x,y){
            console.log("欢迎"+x+y)
        }

        sayHello("hello?","hi???")
    </script>
</body>
</html>